<!DOCTYPE html>
<html lang="zh_TW">
<head>
<meta charset="utf-8">
<title>Clickr &#9679; Order WebApp</title>
<meta name="author" content="http://www.clickrweb.com">
<!-- Le styles -->
<link href="<?=base_url('themes/admins/css/style.css')?>" rel="stylesheet">
<link href="<?=base_url('themes/admins/css/font-awesome.css')?>" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="<?=base_url('themes/admins/css/font-awesome-ie7.css')?>">
<![endif]-->
<!-- Le fav and touch icons -->
<!--[if lt IE 8]><style type="text/css" media="all">@import url("<?=base_url('themes/admins/css/ie.css')?>");</style><![endif]-->
<link rel="shortcut icon" href="<?=base_url('themes/admins/img/ico.ico')?>">
<meta name="application-name" content="CMS Admin"/>
<meta name="description" content="CMS Admin Application"/>
<meta name="application-url" content="<?=site_url('admins/index')?>"/>
<script src="<?=base_url('themes/admins/js/jquery-1.8.3.min.js')?>" type="text/javascript" ></script>
<script src="<?=base_url('themes/admins/js/common.js')?>" type="text/javascript"></script>
<script src="<?=base_url('themes/admins/js/easing.js')?>"></script>
<script src="<?=base_url('themes/admins/js/jquery.ui.totop.min.js')?>"></script>
<script src="<?=base_url('themes/admins/js/My97DatePicker/WdatePicker.js')?>"></script>
<script src="<?=base_url('themes/admins/js/jquery.DOMWindow.js')?>"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
  $('.MeituDOMWindow').openDOMWindow({
    eventType:'click',
    width:780,
    height:680,
    loaderImagePath:"<?=base_url('themes/admins/img/loading.gif')?>",
    windowSource:'ajax',
    windowHTTPType:'post'
  });
})
</script>
</head>
<body>
<div id="hld">
<div class="wrapper">
  <!-- wrapper begins -->
  <div id="header">
    <div class="hdrl"></div>
    <div class="hdrr"></div>
    <h1><?=anchor(site_url('admins/index'),$lang['global_lable_1'],array('title'=>$lang['global_lable_1']));?></h1>
    <ul id="nav">
      <li class="<?=$currentPage=='index'?'active':''?>">
        <?=anchor(site_url('admins/index'),$lang['global_lable_11'],array('title'=>$lang['global_lable_11']));?>
      </li>
      <li class="<?=$currentPage=='settings'?'active':''?>">
        <?=anchor(site_url('admins/settings'),$lang['settings_lable_1'],array('title'=>$lang['settings_lable_1']));?>
      </li>
      <li class="<?=$currentPage=='manages'?'active':''?>">
        <a href="javascript:void(0)"><?=$lang['content_lable_1']?></a>
        <ul>
          <li><?=anchor(site_url('admins/pages'),$lang['content_lable_2'],array('title'=>$lang['content_lable_2']));?></li>
          <li><?=anchor(site_url('admins/categorys'),$lang['content_lable_3'],array('title'=>$lang['content_lable_3']));?></li>
          <li><?=anchor(site_url('admins/products'),$lang['content_lable_4'],array('title'=>$lang['content_lable_4']));?></li>
          <li><?=anchor(site_url('admins/specs'),$lang['content_lable_5'],array('title'=>$lang['content_lable_5']));?></li>
          <li><?=anchor(site_url('admins/productunits'),$lang['content_lable_6'],array('title'=>$lang['content_lable_6']));?></li>
          <li><?=anchor(site_url('admins/logoimg'),$lang['content_lable_7'],array('title'=>$lang['content_lable_7']));?></li>
          <li><?=anchor(site_url('admins/advertisings'),$lang['content_lable_8'],array('title'=>$lang['content_lable_8']));?></li>
          <li><?=anchor(site_url('admins/menuimage'),$lang['content_lable_9'],array('title'=>$lang['content_lable_9']));?></li>
        </ul>
      </li>
      <li class="<?=$currentPage=='orders'?'active':''?>">
        <a href="javascript:void(0)"><?=$lang['orders_lable_1']?></a>
        <ul>
          <li><?=anchor(site_url('admins/orders'),$lang['orders_lable_1'],array('title'=>$lang['orders_lable_1']));?></li>
          <li><?=anchor(site_url('admins/orders/report'),'訂單統計',array('title'=>'訂單統計'));?></li>
          <li><?=anchor(site_url('admins/integral'),$lang['orders_lable_2'],array('title'=>$lang['orders_lable_2']));?></li>
          <li><?=anchor(site_url('admins/promotion/order'),$lang['orders_lable_3'],array('title'=>$lang['orders_lable_3']));?></li>
          <li><?=anchor(site_url('admins/sms'),$lang['orders_lable_4'],array('title'=>$lang['orders_lable_4']));?></li>
          <li><?=anchor(site_url('admins/posprint'),$lang['orders_lable_5'],array('title'=>$lang['orders_lable_5']));?></li>
        </ul>
      </li>
      <li class="<?=$currentPage=='systems'?'active':''?>">
        <a href="javascript:void(0)"><?=$lang['admin_lable_1']?></a>
        <ul>
          <!--<li><?=anchor(site_url('admins/backup'),'數據備份',array('title'=>'數據備份'));?></li>-->
         <!-- <li><?/*=anchor(site_url('admins/languages'),'語言設定',array('title'=>'語言設定'));*/?></li>-->

          <li><?=anchor(site_url('admins/users'),$lang['admin_lable_2'],array('title'=>$lang['admin_lable_2']));?></li>
           <li><?=anchor(site_url('admins/pays'),$lang['admin_lable_35'],array('title'=>$lang['admin_lable_35']));?></li>
          <li><?=anchor(site_url('admins/operator'),$lang['admin_lable_12'],array('title'=>$lang['admin_lable_12']));?></li>
        </ul>
      </li>
      <li class="<?=$currentPage=='feedbacks'?'active':''?>" style="display:none">
        <?=anchor(site_url('admins/feedbacks'),'通知',array('title'=>'通知'));?>
        <?php $CI=&get_instance();?>
        <?php $count=$CI->get_feedbooks();?>
        <?php if($count>0):?>
        <div class="notice_box"><span><?=$count?></span></div>
        <?php endif;?>
      </li>
    </ul>
    <?=anchor(site_url('admins/login/login_out/'),'<i class="icon-off"></i>',array('title'=>$lang['admin_lable_36'],'class'=>'tools'));?>
    <p class="user"><i class="icon-user"></i> <?=$lang['global_lable_40']?>, <a href="<?=site_url('admins/users/edit/'.$this->nsession->userdata('admin_id'))?>" title="編輯帳戶資料"><?=$this->nsession->userdata('nick_name')?></a></p>
      <a href="<?='http://'.$_SERVER['HTTP_HOST'].($_SERVER['REQUEST_URI'])?>?&lan=zh-tw">
          <span style="float: right;margin-right: 120px;font-size: 18px;">繁體</span></a>
      <a href="<?='http://'.$_SERVER['HTTP_HOST'].($_SERVER['REQUEST_URI'])?>?&lan=english">
          <span style="float: right;margin-right: 20px;font-size: 22px;">EN</span></a>
  </div>
  <!-- #header ends -->